<%@page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/taglib.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<%@include file="/common/public.jsp"%>
<link rel="stylesheet" type="text/css" href="${ctx}/css/main.css">
<link rel="stylesheet" type="text/css" href="${ctx}/css/query.css">
<script type="text/javascript">
window.Action = {};
Action.save = function(){
	jQuery("form:first").submit();
};
</script>
</head>
<body>
<e:form name="EditForm" action="/question/page/staffSave.do">
<e:hidden name="id" value="${bean.staffId}"/>
<table class="etable">
	<tr>
		<td class="tl">登陆名：</td>
		<td class="tc">
			<e:text name="loginName" className="input" validate="{required:true,maxlength:128}" value="${bean.loginName}">
				<e:param name="defValue" value="登陆名"/>
			</e:text>
		</td>
		<td class="tl">员工姓名：</td>
		<td class="tc">
			<e:text name="staffName" className="input" validate="{required:true,maxlength:128}" value="${bean.staffName}">
				<e:param name="defValue" value="员工姓名"/>
			</e:text>
		</td>
	</tr>
	<tr>
		<td class="tl">密码：</td>
		<td class="tc">
			<e:text name="password" className="input" validate="{required:true,maxlength:128}" value="${bean.password}">
				<e:param name="defValue" value="密码"/>
			</e:text>
		</td>
		<td class="tl">QQ：</td>
		<td class="tc">
			<e:text name="qq" className="input" validate="{required:false}" value="${bean.qq}">
				<e:param name="defValue" value="qq"/>
			</e:text>
		</td>
	</tr>
	<tr>
		<td class="tl">邮箱：</td>
		<td class="tc">
			<e:text name="email" className="input" validate="{required:true,maxlength:128}" value="${bean.email}">
				<e:param name="defValue" value="qq"/>
			</e:text>
		</td>
		<td class="tl">电话：</td>
		<td class="tc" colspan="3">
			<e:text name="tel" className="input" validate="{required:false}" value="${bean.tel}">
				<e:param name="defValue" value="电话"/>
			</e:text>
		</td>
	</tr>
	<tr>
		<td align="right" colspan="4"><input id="SaveButton" type="button" class="btn_blue_b2" value="保 存" onClick="Action.save()"/></td>
	</tr>
</table>
</e:form>
</body>
</html>